package com.lhd.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.lhd.bean.GoodsUvCt;
import com.lhd.bean.OrderRate;
import com.lhd.mapper.GoodsMapper;
import com.lhd.mapper.OrderRateMapper;
import com.lhd.service.GoodsService;
import com.lhd.service.OrderRateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderRateServiceImp implements OrderRateService {
    @Autowired
    OrderRateMapper orderRateMapper;

    @Override
    public List<JSONObject> getOrderRate(Integer date) {
        return orderRateMapper.orderRate(date);
    }
}
